package com.lfw.store1.service;

import com.lfw.store1.vo.CartVO;

import java.util.List;

public interface CartService {
    void addToCart(Integer uid, Integer pid, Integer amount, String username);
    
    List<CartVO> getVOByUid(Integer uid);

    //增加成功后新的数量
    Integer changeNum(Integer cid, Integer uid, String username, Integer todo);

    List<CartVO> getVOByCidsAndUid(Integer uid, Integer[] cids);
}
